from tkinter import Tk, Button,Label
from tkinter import *
from tkinter.constants import RIGHT, LEFT, X, Y, BOTH
def ibuttonbox(msg,title,image,lst):
    win = Tk()
    win.title(title)
    win.geometry('600x200')
    Label(win,text=msg, anchor='n').pack()
    ima = PhotoImage(file=image)
    Label(win,image=ima).pack()
    for i in lst:
        bt = Button(win,text=i)
        bt.pack(anchor='s',side=LEFT,expand=True)
    win.mainloop()
